﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlServerCe;
namespace AlumnesBD
{
    class Basededades
    {
        //Funció que conectarà directament a la BD.
        public static SqlCeConnection connectar()
        {
            SqlCeConnection con = new SqlCeConnection(
            @"Data Source=C:\Users\omartin\Documents\Visual Studio 2008\Projects\Xevi_Tarre\AlumnesBD\AlumnesBD\Alumnes.sdf");
            {
                return con;
            }
        }
    }
}
